//
//  BaseViewController.m
//  LZMProject
//
//  Created by dllo on 15/11/4.
//  Copyright © 2015年 LZS. All rights reserved.
//

#import "BaseViewController.h"
#import "GetCurrentColor.h"
@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
     self.navigationController.navigationBar.barTintColor = MBCOLOR;
    
    self.view.backgroundColor = [GetCurrentColor getCurrentColor];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(ChangeStyleColor:) name:@"ChangeStyle" object:nil];
    
     
}

-(void)ChangeStyleColor:(NSNotification *)notification
{
    NSString *str = [notification object];
    
    NSLog(@"%@",str);
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
